package com.yuzhenxin.bookstore.config;

import com.example.framework.common.exception.ErrorCode;
import com.example.framework.common.exception.enums.GlobalErrorCodeConstants;

public interface BookstoreErrorCodeConstants extends GlobalErrorCodeConstants {

    ErrorCode ORDER_CONFIRM_ERROR = new ErrorCode(60001, "订单确认失败！");
    ErrorCode EMAIL_EXISTS = new ErrorCode(60002, "邮箱已存在");
    ErrorCode ACTIVE_CODE_ERROR = new ErrorCode(60003, "Invalid code!");
    ErrorCode USER_ACTIVATED = new ErrorCode(60004, "Invalid code!");
}
